/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xinxi.dms.po;

/**
 *
 * @author zhigu
 */
public class Admin {
    private Integer id;
    private String name;
    private String password;
    private String extent;
    private String phone;
    private String fullname;

    public Admin() {
        super();
    }

    public Admin(Integer id) {
        this.id = id;
    }

    public Admin(Integer id, String name, String phone, String fullname) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.fullname = fullname;
    }

    public Admin(String name, String phone, String fullname) {
        this.name = name;
        this.phone = phone;
        this.fullname = fullname;
    }

    public Admin(String name, String password, String extent, String phone, String fullname) {
        super();
        this.name = name;
        this.password = password;
        this.extent = extent;
        this.phone = phone;
        this.fullname = fullname;
    }

    public Admin(Integer id, String name, String password, String extent, String phone, String fullname) {
        super();
        this.id = id;
        this.name = name;
        this.password = password;
        this.extent = extent;
        this.phone = phone;
        this.fullname = fullname;
    }

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the extent
     */
    public String getExtent() {
        return extent;
    }

    /**
     * @param extent the extent to set
     */
    public void setExtent(String extent) {
        this.extent = extent;
    }

    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return the fullname
     */
    public String getFullname() {
        return fullname;
    }

    /**
     * @param fullname the fullname to set
     */
    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    @Override
    public String toString() {
        return "Admin{" + "id=" + id + ", name=" + name + ", password=" + password + ", extent=" + extent + ", phone=" + phone + ", fullname=" + fullname + '}';
    }

  
    
    
    
}
